package com.youlai.boot.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * 试题列表视图对象
 *
 * @author youlaitech
 * @since 2025-07-07 09:05
 */
@Getter
@Setter
@Schema( description = "试题列表视图对象")
public class ExamQuestionVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;
    @Schema(description = "所属试卷id（外键）")
    private Long paperid;
    @Schema(description = "试卷名称")
    private String papername;
    @Schema(description = "试题名称")
    private String questionname;
    @Schema(description = "选项，json字符串")
    private String options;
    @Schema(description = "分值")
    private Long score;
    @Schema(description = "正确答案")
    private String answer;
    @Schema(description = "答案解析")
    private String analysis;
    @Schema(description = "试题类型，0：单选题 1：多选题 2：判断题 3：填空题（暂不考虑多项填空）")
    private Long type;
    @Schema(description = "试题排序，值越大排越前面")
    private Long sequence;
    
    private Date createTime;
    
}
